package com.pojo;

import lombok.Data;


public class News1 {
    private Integer id;
    private String newsnum;
    private String title;
    private Integer type;
    private String pubtime;
    private String newsfrom;
    private String contxt;
    private String contxturl;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNewsnum() {
        return newsnum;
    }

    public void setNewsnum(String newsnum) {
        this.newsnum = newsnum;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getType() {

        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPubtime() {
        return pubtime;
    }

    public void setPubtime(String pubtime) {
        this.pubtime = pubtime;
    }

    public String getNewsfrom() {
        return newsfrom;
    }

    public void setNewsfrom(String newsfrom) {
        this.newsfrom = newsfrom;
    }

    public String getContxt() {
        return contxt;
    }

    public void setContxt(String contxt) {
        this.contxt = contxt;
    }

    public String getContxturl() {
        return contxturl;
    }

    public void setContxturl(String contxturl) {
        this.contxturl = contxturl;
    }

    @Override
    public String toString() {
        return "News{" +
                "id=" + id +
                ", newsnum=" + newsnum +
                ", title='" + title + '\'' +
                ", type=" + type +
                ", pubtime='" + pubtime + '\'' +
                ", newsfrom='" + newsfrom + '\'' +
                ", contxt='" + contxt + '\'' +
                ", contxturl='" + contxturl + '\'' +
                '}';
    }


}
